home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Resources / Developer & Web Development Tools / Inno Setup 5.2.3 / isetup-5.2.3.exe / {app} / Examples / 64BitTwoArch.iss (.txt) < prev    next >
Encoding:
Inno Setup Script  |  2006-10-03  |  1.4 KB  |  31 lines

  1. ; -- 64BitTwoArch.iss --
  2. ; Demonstrates how to install a program built for two different
  3. ; architectures (x86 and x64) using a single installer.
  4. ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING .ISS SCRIPT FILES!
  5. [Setup]
  6. AppName=My Program
  7. AppVerName=My Program version 1.5
  8. DefaultDirName={pf}\My Program
  9. DefaultGroupName=My Program
  10. UninstallDisplayIcon={app}\MyProg.exe
  11. Compression=lzma
  12. SolidCompression=yes
  13. OutputDir=userdocs:Inno Setup Examples Output
  14. ; "ArchitecturesInstallIn64BitMode=x64" requests that the install be
  15. ; done in "64-bit mode" on x64, meaning it should use the native
  16. ; 64-bit Program Files directory and the 64-bit view of the registry.
  17. ; On all other architectures it will install in "32-bit mode".
  18. ArchitecturesInstallIn64BitMode=x64
  19. ; Note: We don't set ProcessorsAllowed because we want this
  20. ; installation to run on all architectures (including Itanium,
  21. ; since it's capable of running 32-bit code too).
  22. [Files]
  23. ; Install MyProg-x64.exe if running in 64-bit mode (x64; see above),
  24. ; MyProg.exe otherwise.
  25. Source: "MyProg-x64.exe"; DestDir: "{app}"; DestName: "MyProg.exe"; Check: Is64BitInstallMode
  26. Source: "MyProg.exe"; DestDir: "{app}"; Check: not Is64BitInstallMode
  27. Source: "MyProg.chm"; DestDir: "{app}"
  28. Source: "Readme.txt"; DestDir: "{app}"; Flags: isreadme
  29. [Icons]
  30. Name: "{group}\My Program"; Filename: "{app}\MyProg.exe"
  31.